/*
 * Copyright (c) 2013, FPX and/or its affiliates. All rights reserved.
 * Use, Copy is subject to authorized license.
 */
package com.pyip.simpleioc;

/**
 * @author yepeng
 * @date 2015年11月3日
 */
public class JetPlane implements Plane {

    private String destination;

    public JetPlane() {
    }

    @Override
    public void fly() {
        System.out.println("fly to " + destination);
    }

    public String getDestination() {
        return destination;
    }

    public void setDestination(String destination) {
        this.destination = destination;
    }

}
